import { request } from "../../utils/request";

// 导出
export const PostProductListApi = (body: PRODUCTMODULE.params) => {
  return request<PRODUCTMODULE.List>("/api/v1/product", {
    method: "POST",
    headers: {},
    body,
  });
};
// 导出
export const PostProductRiceTextApi = (body: PRODUCTMODULE.params2) => {
  return request<PRODUCTMODULE.RiceText>("/api/v1/product", {
    method: "POST",
    headers: {},
    body,
  });
};
// 导出
export const PostProductRiceTextTablesApi = (body: PRODUCTMODULE.params3) => {
  return request<PRODUCTMODULE.RiceTextTables>("/api/v1/product", {
    method: "POST",
    headers: {},
    body,
  });
};